<div class="nav">
    <div class="pageContainer">
        <div class="head">
            <% if(logo){ %>
            <a href="#">
                <img src="<%= logo %>" alt="" class="companyLogo"/>
            </a>
            <% } %>
            <a href="http://localhost:3003/login" target="_blank" class="loginLink">登录</a>
            <!--<button class="searchBtn">111</button>-->
        </div>
    </div>
    <div class="pageContainer navBarContainer">
        <ul class="navBar">
            <%for(let item of navList){%>
            <li class="navbarItem">
                <a href="<%= item[0].link_url %>" class="navbarItemLink">
                    <%= item[0].title %>
                </a>
                <ul class="subNavigation">
                    <%for(let i in item){%>
                    <li>
                        <a href="<%=item[i].link_url %>" class="subNavigationItem">
                            <%=item[i].title %>
                        </a>
                    </li>
                    <%}%>
                    <!--<?php foreach ($item as $key1=> $item1):?>-->
                    <!--<?php if ($key1!==0) : ?>-->
                    <!--<li>-->
                    <!--<a href="<?=$item1->link_url ; ?>" class="subNavigationItem">-->
                    <!--<?=$item1->title; ?>-->
                    <!--</a>-->
                    <!--</li>-->
                    <!--<?php endif; ?>-->
                    <!--<?php endforeach; ?>-->
                </ul>
            </li>
            <%}%>

        </ul>
    </div>

</div>
